ARG BASE_DOCKER_JAVA
ARG PROFILE
FROM ${BASE_DOCKER_JAVA}

ARG workdir=/apps

VOLUME $workdir
WORKDIR $workdir

ADD tulingmall-member/target/tulingmall-member-0.0.5.jar mall-member.jar

ENTRYPOINT java -jar -Xms256M -Xmx256M -Xmn156M -Xss512K -XX:MetaspaceSize=256M -XX:MaxMetaspaceSize=256M  -Dspring.profiles.active=${PROFILE} ./mall-member.jar
EXPOSE 8877

# 指定维护者的名字
MAINTAINER zhangfuyin

RUN mkdir -p $workdir/webapp/member